Page({
  data: {
    healthOverview: [
      { type: 'heart', icon: 'https://dummyimage.com/64x64/eeeeee/aaaaaa.png&text=icon', label: '心率', value: '72', status: 'normal', statusText: '正常' },
      { type: 'blood', icon: 'https://dummyimage.com/64x64/eeeeee/aaaaaa.png&text=icon', label: '血压', value: '120/80', status: 'normal', statusText: '正常' },
      { type: 'sugar', icon: 'https://dummyimage.com/64x64/eeeeee/aaaaaa.png&text=icon', label: '血糖', value: '5.6', status: 'normal', statusText: '正常' },
      { type: 'steps', icon: 'https://dummyimage.com/64x64/eeeeee/aaaaaa.png&text=icon', label: '步数', value: '6800', status: 'low', statusText: '偏低' }
    ],
    medicines: [
      { id: 1, name: '降压药', time: '08:00', dosage: '1片' },
      { id: 2, name: '维生素', time: '12:00', dosage: '2片' }
    ]
  },

  onAddMedicine() {
    wx.showToast({ title: '添加用药提醒', icon: 'none' });
  }
})
